<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;
class AdminUserRole extends Model
{
    //
    protected $table = 'admin_user_role';
    public $timestamps = false;
    protected $fillable = [
        'title'
    ];

    public function menus(){
    	return $this->hasMany('App\Model\AdminRoleMenuRelation','role_id','id');
    }
    public function menus2(){
        return $this->hasMany('App\Model\AdminRoleMenuMRelation','role_id','id');
    }
}
